cd /d %~dp0
cd ..
cd ..

set from=php
set to=D:\work\www\php

if exist %from% ( 
	if exist %to% rmdir /s/q %to%
	echo d |xcopy %from% %to% /S /E /Y
	rmdir /s/q %from%
)

set to=D:\work\svn\website\php
if exist %from% ( 
	if exist %to% rmdir /s/q %to%
	echo d |xcopy %from% %to% /S /E /Y
	rmdir /s/q %from%
)


set from=tool
set to=D:\work\www\tool
if exist %from% ( 
	if exist %to% rmdir /s/q %to%
	echo d |xcopy %from% %to% /S /E /Y
	rmdir /s/q %from%
)